package com.back_end.mysql.outdata.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Index;
import javax.persistence.Table;

@Data
@Entity
@Table(catalog = "outdata",schema = "outdata",
        indexes = {@Index(name = "affiliationIdIndex", columnList = "affiliationId")})
@NoArgsConstructor
public class Author {
    @Id
    Long authorId;
    Integer rank_;
    String name;
    Long affiliationId;
    Integer paperCount;
    Integer citationCount;
}
